import Layout from '@/module-dashboard/pages/layout'
const _import = require('@/router/import_' + process.env.NODE_ENV)

export default [
  {
    path: '/workorder ',
    component: Layout,
    redirect: 'noredirect',
    name: 'workorder',
    meta: {
      title: '工单管理',
      icon: 'people'
    },
    children: [
      {
        path: 'operational-tickets',
        component: _import('manage/pages/operational-tickets'),
        name: 'Operational-tickets',
        meta: { title: '运营工单', noCache: true, icon: 'component' }
      },
      {
        path: 'O&M-tickets',
        name: 'O&M-tickets',
        component: _import('manage/pages/O&M-tickets'),
        meta: { title: '运维工单', noCache: true, icon: 'component' }
      }
    ]
  }
]
